package com.syni.mdd.yhd.common.all.dao.jpa.groupBuy;

import com.syni.mdd.yhd.common.all.dao.BaseJPADao;
import com.syni.mdd.yhd.common.all.entity.groupBuy.BmsUserBargain;
import com.syni.mdd.yhd.common.all.entity.groupBuy.BmsUserHelpBargain;
import org.springframework.data.domain.Pageable;

import java.util.List;

public interface BmsUserHelpBargainDao extends BaseJPADao<BmsUserHelpBargain,Integer> {
    List<BmsUserHelpBargain> findByUserIdAndUserBargainId(Integer userId,Integer bargainId);

    List<BmsUserHelpBargain> findByUserId(Integer userId, Pageable pageable);
}
